package org.jeecg.modules.villageCadreAssist.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.villageCadreAssist.entity.VcaFarmland;
import org.jeecg.modules.villageCadreAssist.entity.VcaResident;
import org.jeecg.modules.villageCadreAssist.mapper.VcaFarmlandMapper;
import org.jeecg.modules.villageCadreAssist.service.IVcaFarmlandService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: vca_farmland
 * @Author: jeecg-boot
 * @Date:   2022-04-10
 * @Version: V1.0
 */
@Service
public class VcaFarmlandServiceImpl extends ServiceImpl<VcaFarmlandMapper, VcaFarmland> implements IVcaFarmlandService {

    public IPage<VcaFarmland> queryPageList(Page<VcaFarmland> page, QueryWrapper<VcaFarmland> queryWrapper, String orgCode){
        return baseMapper.queryPageList(page,queryWrapper,orgCode);
    }

    public List<VcaFarmland> queryTopN(VcaFarmland farmland, String orgCode){
        return baseMapper.queryTopN(farmland,orgCode);
    }
}
